cmake_minimum_required(VERSION 3.5.1)
project(fltk-linux)
# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

#set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_STANDARD_REQUIRED True)


include_directories(${CMAKE_CURRENT_SOURCE_DIR}/fltk-linux/include)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/fltk-linux/lib)
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE fltk X11 dl)

